/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.service;

import java.util.List;

import com.ruipengkj.bean.TOrder;
import com.ruipengkj.commons.service.IGenericService;
/**
 * 说明：
 * 定单Service层接口
 * @Author：李智深
 * @Date：2012-03-16
 */
public interface TOrderService extends IGenericService<TOrder, String>{
	
	public List<TOrder> findByWorkShiftID(TOrder entity);
	
	public Double findCardAmountByWorkShiftID(String WorkShiftID);
	
	public Double findCashAmountByWorkShiftID(String WorkShiftID);
	
	public Double findDiscountAmountByWorkShiftID(String WorkShiftID);
	
	public Integer findOrderCountByWorkShiftID(String WorkShiftID);
	
	/**主要根据桌号查询，即使桌号为空*/
	public List<TOrder> findByDeskService(TOrder entity) throws Exception;

	public List<TOrder> findPayStatus(TOrder entity) throws Exception;
}
